/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package brisollogic;


/**
 *
 * @author monster
 */

public class Product {
    
    
    private int productid;
    private String modelName;
    private String specs;
    private Category cat;
    private String pictureURL;
    
    public Product(String n, String s, Product.Category c, String pic)
    {
        this.modelName = n;
        this.specs = s;
        this.cat = c;
        this.pictureURL = pic;
    }

    public Product(int i, String n, String s, Product.Category c, String produktPictureURL)
    {
        this.productid = i;
        this.modelName = n;
        this.specs = s;
        this.cat = c;
        this.pictureURL = produktPictureURL;
    }

    /**
     * @return the pictureURL
     */
    public String getPictureURL() {
        return pictureURL;
    }

    /**
     * @param pictureURL the pictureURL to set
     */
    public void setPictureURL(String picture) {
        this.pictureURL = picture;
    }

    public enum Category
    {
        Router, Switch, Firewall;
    }
    /**
     * @return the productid
     */
    public int getProductid() {
        return productid;
    }

    /**
     * @return the modelName
     */
    public String getModelName() {
        return modelName;
    }

    /**
     * @param modelName the modelName to set
     */
    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    /**
     * @return the specs
     */
    public String getSpecs() {
        return specs;
    }

    /**
     * @param specs the specs to set
     */
    public void setSpecs(String specs) {
        this.specs = specs;
    }

    /**
     * @return the cat
     */
    public Category getCat() {
        return cat;
    }

    /**
     * @param cat the cat to set
     */
    public void setCat(Category cat) {
        this.cat = cat;
    }

}
